package com.zscat.mallplus.pms.entity;

import lombok.Data;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.bean.copier.CopyOptions;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zscat.mallplus.utils.BaseEntity;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;
    import java.math.BigDecimal;
import java.io.Serializable;

/**
* @author mallplus
* @date 2020-07-04

*/
@Data
@TableName("pms_shop_sku_stock")
public class PmsShopSkuStock extends BaseEntity implements Serializable {


            @TableId(value = "id", type = IdType.AUTO)
        private Long id;




            /**
            商品id
            **/
            @TableField( "goods_id")
        private Long goodsId;


            /**
            skuid
            **/
            @TableField( "sku_id")
        private String skuId;


            /**
            门店id
            **/
            @TableField( "shop_id")
        private String shopId;


            /**
            价格
            **/
            @TableField( "price")
        private BigDecimal price;


            /**
            库存
            **/
            @TableField( "stock")
        private Integer stock;


            /**
            0->待审核；1->审核通过
            **/
            @TableField( "status")
        private String status;


            /**
            创建时间
            **/
            @TableField( "create_time")
        private Date createTime;


            /**
            门店名称
            **/
            @TableField( "shop_name")
        private String shopName;


}
